import { request } from '@/utils/request';
import CRUD from '@/utils/request/CRUD';

// 工地情况列表CRUD
export const engineerinMessageCRUD = CRUD('/system/engineering-message');

// 已解决
export function endEngineering(data: Record<string, any>) {
  return request.post({
    url: '/system/engineering-message/update-complete',
    data,
  });
}
// 查询
export function getEngineeringByOrderId(params: Record<string, any>) {
  return request.get({
    url: '/system/engineering-message/page-by-orderId',
    params,
  });
}
